Vehicle surroundings monitoring apparatus

ABSTRACT

Abstract of the Disclosure 
     A vehicle surroundings monitoring apparatus that extracts a body present in the surrounding of a vehicle as an object, based on an image captured by an infrared imaging device, includes: a binarized object extraction device that extracts a binarized object from image data obtained by binarizing a gray scale images of the image; a search region setting device that sets a plurality of search regions vertically using a predetermined height as a reference; a search region extraction device that extracts a search region having a distance to the infrared imaging device substantially equal to a distance between the binarized object and the infrared imaging device, among a plurality of the search regions; a correlation degree determination device that determines a degree of correlation between the plurality of search regions; a height calculation device that calculates a height of the binarized object; and an object type determination device that determines a type of the object.

Detailed Description of the Invention BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to a vehicle surroundings monitoring apparatus that extracts objects by performing binarization processing of images taken by infrared cameras.

Priority is claimed on Japanese Patent Application No. 2004-347334, filed November 30, 2004, the content of which is incorporated herein by reference.

Description of Related Art

Conventionally, a display processing device is known in which an object such as a pedestrian with a possibility of colliding with a vehicle is extracted from an infrared image of a vehicles surroundings captured by an infrared camera, and information of this object is provided to the driver (for example, see Japanese Unexamined Patent Application, First Publication No. H11-328364).

This display processing device searches a region (binarized object) where bright parts are concentrated by binarizing the infrared image, and determines whether or not the binarized object is a pedestrian's head based on the distance calculated from an aspect ratio or filling factor of the binarized object, and also an actual area and a center of gravity on the infrared image. Then, the height of the pedestrian on the infrared image is calculated from the distance between the head part region of the pedestrian and the infrared camera, and an average height of adult persons, and a body region containing the body of a pedestrian is set. By separating and displaying the head region and body region from other regions, visual aid for the driver is performed with respect to a pedestrian.

Moreover, a technique is known which searches a region (binarized object) where bright parts are concentrated by binarizing the infrared image, extracts the image region at the same distance from that of the binarized object in the vertical direction of the binarized object, and calculates the height of the object at the same distance from that of the binarized object from the binarized object and the image region to recognize that the object is a pedestrian (for example, see Japanese Unexamined Patent Application, First Publication No. 2003-216937).

Incidentally, since the display processing device of the example of the related art mentioned above detects a pedestrian based on determination of the shape for a head part region or body part region on the infrared image, it may become difficult to distinguish a pedestrian from a manmade structure that has a shape of a pedestrian, and particularly a similar shape, size, and position height of the pedestrian’s head and that emits heat.

Moreover, in Japanese Unexamined Patent Application, First Publication No. 2003-216937, the pedestrian recognition is simply performed by calculating the height of the object based on the binarized object and the image region at the same distance as that of the binarized object in the vertical direction of the binarized object, on the infrared image, and the single search region is simply set at each predetermined height in the vertical direction of binarized object. Therefore a problem arises in that the height of the binarized object in the gray scale image cannot be accurately calculated in the state where for example the object is inclined with respect to the vertical direction.

SUMMARY OF THE INVENTION

The present invention takes into consideration the abovementioned circumstances, with an object of providing a vehicle surroundings monitoring apparatus that is capable of precisely distinguishing and extracting a pedestrian and a manmade structure on an infrared image.

In order to solve the above problem and achieve the related object, the present invention provides a vehicle surroundings monitoring apparatus that extracts a body present in the surrounding of a vehicle as an object, based on an image captured by an infrared imaging device, including: a binarized object extraction device that extracts a binarized object from image data obtained by binarizing a gray scale image of the image; a search region setting device that sets a plurality of search regions vertically using a predetermined height as a reference around the binarized object extracted by the binarized object extraction device, in the gray scale image; a search region extraction device that extracts a search region having a distance to the infrared imaging device substantially equal to a distance between the binarized object and the infrared imaging device, among a plurality of the search regions set by the search region setting device; a correlation degree determination device that determines a degree of correlation between the plurality of search regions extracted by the search region extraction device; a height calculation device that calculates a height of the binarized object in the gray scale image, based on a determination result by the correlation degree determination device; and an object type determination device that determines a type of the object based on the height of the binarized object calculated by the height calculation device.

According to the vehicle surroundings monitoring apparatus mentioned above, compared to a case where a single search region is set in the horizontal direction using for example a predetermined height as reference, the size of the respective search regions can be relatively reduced by setting a plurality of search regions. As a result, the detection accuracy of the horizontal width of the object can be improved. Furthermore, even in the case where for example the horizontal width of the object in the gray scale image is greater than the horizontal width of the binarized object or the value estimated from the horizontal width of the binarized object, the search region can be kept from being set for only the smaller region than the horizontal width. Moreover, by appropriately changing the predetermined height for setting the search region, then for example even in the state where the object is inclined at an appropriate angle with respect to the vertical direction, the height of the binarized object in the gray scale image can be accurately detected.

The search region setting device may set a plurality of search regions horizontally for the respective predetermined heights using a plurality of different predetermined heights as a reference.

According to the vehicle surroundings monitoring apparatus mentioned above, since a plurality of search regions are horizontally set for the respective predetermined heights using a plurality of different predetermined heights as a reference, the detection accuracy of the horizontal width of the binarized object in the gray scale image can be improved, and the height of the binarized object in the gray scale image can be accurately detected.

Furthermore, the correlation degree determination device may determine the continuity of the plurality of search regions.

According to the vehicle surroundings monitoring apparatus mentioned above, among the plurality of search regions having the distance to the infrared imaging device approximately equal to the distance between the binarized object and the infrared imaging device, then for example based on the search regions continually adjacent to each other, or a plurality of search regions which are determined to be so to speak continuous, since they are present within a predetermined distance to each other, by calculating the height of the binarized object in the gray scale image, the calculation accuracy can be improved.

Furthermore, the vehicle surroundings monitoring apparatus of the present invention may further include a pedestrian recognition device that recognizes a pedestrian present in the surrounding of a vehicle based on the image, the pedestrian recognition device executing pedestrian recognition processing on the object when the object is determined by the object type determination device to be something other than a manmade structure or to be a pedestrian.

According to the above vehicle surroundings monitoring apparatus, pedestrian recognition accuracy can be improved by performing the pedestrian recognition processing for the object determined to be something other than a manmade structure as well as for the object determined to be a pedestrian.

Furthermore, the vehicle surroundings monitoring apparatus of the present invention may further include a warning output device that outputs a warning directed to the object when the object is determined by the object type determination device to be something other than a manmade structure or to be a pedestrian.

According to the above vehicle surroundings monitoring apparatus, since a warning can be output for an object determined to be something other than a manmade structure as well as an object determined to be a pedestrian, unnecessary warnings for a manmade structure can be avoided.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing the construction of a vehicle surroundings monitoring apparatus according to an embodiment of the present invention.

FIG. 2 is a diagram showing a vehicle equipped with the vehicle surroundings monitoring apparatus shown in FIG. 1.

FIG. 3 is a flowchart showing the operations of the vehicle surroundings monitoring apparatus shown in FIG. 1.

FIG. 4 is a flowchart showing the warning determination processing shown in FIG. 3.

FIG. 5 is a diagram showing an example of a relative position between a vehicle and an object.

FIG. 6 is a diagram showing an example of the classification of the regions such as an approach determination region set in front of the vehicle.

FIG. 7 shows an example of a first search region set when the bottom end position of the gray scale region is detected.

FIG. 8 shows an example in which another object (for example such as a wall) is present forward of the binarized object, in real space.

FIG. 9 shows an example in which the other object (for example such as a wall) is present forward of the binarized object, in the image.

FIG. 10 shows an example of a plurality of search regions previously set for the region upward from the top end of the binarized object when the top end position of the gray scale region is detected.

FIG. 11 shows an example of a processing in which the top end position of the gray scale region according to the first modified example of the present embodiment is detected.

FIG. 12 shows an example of respective reference masks set for the region upward from the top end of the binarized object when the top end position of the gray scale region according to the first modified example of the present embodiment is detected.

FIG. 13 shows an example of respective reference masks set for the region upward from the top end of the binarized object when the top end position of the gray scale region according to the first modified example of the present embodiment is detected.

FIG. 14 shows an example of interval for which it is determined that the parallax detection is continually a failure when the top end position of the gray scale region according to the first modified example of the present embodiment is detected.

FIG. 15 shows an example of first search regions and second search regions set when the bottom end position of the gray scale region according to the second modified example of the present embodiment is detected.

DETAILED DESCRIPTION OF THE INVENTION

Hereunder, a vehicle surroundings monitoring apparatus according to one embodiment of the present invention is described with reference to the drawings.

The vehicle surroundings monitoring apparatus according to the present embodiment, for example as shown in FIG. 1, includes: an image processing unit 1 equipped with a CPU (Central Processing Unit) that controls the vehicle surroundings monitoring apparatus; two infrared cameras 2R and 2L that are capable of detecting distant infrared radiation; a yaw rate sensor 3 that detects the yaw rate of the vehicle; a vehicle speed sensor 4 that detects the traveling speed of the vehicle; a brake sensor 5 that detects a driver’s braking operation; a speaker 6; and a display device 7. For example, the image processing unit 1 detects a moving object such as a pedestrian or an animal in front of the vehicle in its traveling direction from infrared images of the surroundings of the vehicle that are captured by the two infrared cameras 2R and 2L, and from detection signals relating to the traveling status of the vehicle that are detected by each of the sensors 3, 4, and 5. In the case where the possibility of a collision between the detected moving object and the vehicle is determined, a warning is output via the speaker 6 or the display device 7.

Moreover, the display device 7 is, for example, constructed including a display device integrated with gauges that display various traveling states of the vehicle, a display device such as a navigation device, and furthermore an HUD (Head Up Display) 7a that displays various information at a position on the front window where the field of front vision of the driver is not impaired.

In addition, the image processing unit 1 includes an A/D converter, that converts input analog signals to digital signals, an image memory, that stores digitized image signals, a CPU (central processing unit), that performs various arithmetic processing, a RAM (Random Access Memory), that is used for storing data in the middle of the arithmetic processing, a ROM (Read Only Memory), that stores programs that are performed by the CPU, and tables, maps and the like, and an output circuit that outputs drive signals for the speaker 6 and display signals for the HUD 7a. The image-processing unit 1 is constructed such that the output signals of the infrared cameras 2R and 2L, and the respective sensors, 3, 4, and 5 are input into the CPU after being converted to digital signals.

Furthermore, as shown in FIG. 2, two infrared cameras 2R and 2L are disposed at the front of the vehicle 10 at positions symmetrical in the width direction relative to the central axis of the vehicle 10. The optical axes of both cameras 2R and 2L are parallel to each other, and both infrared cameras 2R and 2L are secured at the same height from the road surface. A characteristic of the infrared cameras 2R and 2L is that the output signal level (that is, luminance) increases as the temperature of the object increases.

Moreover, the HUD 7a is provided so as to display the images at a position on the front window of the vehicle 10, where the field of front vision of the driver is not impaired.

The vehicle surroundings monitoring apparatus according to the present embodiment is provided with the construction described above. Next, the operation of the vehicle surroundings monitoring apparatus is described, with reference to the drawings.

The operations in the image processing unit 1 for the detection of an object such as a pedestrian, and outputting a warning, are described below.

First of all, in step S1 shown in FIG. 3, the image processing unit 1 obtains infrared images, which are the output signals from the infrared cameras 2R and 2L.

Next, in step S2, A/D conversion of the obtained images is performed.

Next, in step S3, a gray scale image containing half tone gradation information is obtained, and stored in an image memory. Here the infrared camera 2R acquires the right image and the infrared camera 2L acquires the left image. Furthermore, because in the right image and the left image the horizontal position on the display screen for the same object appears displaced, this displacement (that is, parallax) enables calculation of the distance from the vehicle 10 to the object.

Next in step S4, the right image obtained by the infrared camera 2R is assigned as the reference image, and binarization processing of this image signal is performed, that is, regions brighter than a predetermined luminance threshold value ITH are set to "1" (white), and darker regions are set to "0" (black).

The processing of steps S4 through S9 above is executed for the reference image obtained from the binarization processing (for example, the right image).

Next, in step S5, the image data obtained as a result of binarization processing for the infrared images is converted into run length data. In the run length data, regions that have become white as a result of the binarization processing are displayed as lines at the pixel level. Each line is set to have the width of one pixel in the y direction and the length of an appropriate number of pixels in the x direction.

Next, in step S6, labeling of the object is performed for the image data converted into the run length data.

Next, in step S7, the object is extracted according to the labeling of the object. Here, in the case where lines including equal x direction coordinates are adjacent to each other among respective lines of the run length data, the adjacent lines are recognized to be forming a single object.

Next, in step S8, the center of gravity G of the extracted object, the area S, and the aspect ratio ASPECT of the circumscribed quadrangles are calculated.

Here, the areas S are calculated by adding the lengths (run (i) - 1) of each run length data for the same object, assuming that the run length data of the object labeled A is (x (i), y (i), run (i), A) (i = 0, 1, 2, …, N-1; where N is an arbitrary nonnegative integer).

Furthermore, the coordinates (xc, yc) of the center of gravity G of the object labeled A are calculated by multiplying the length (run (i) - 1) of each run length data by the coordinates x (i) or y (i) (that is, (run (i) – 1) × x (i) or (run (i) – 1) × y (i)), adding the multiplication products for the same object, and dividing the result by the area S.

In addition, the aspect ratio ASPECT is calculated as the ratio Dy / Dx of the length Dy in the vertical direction of a quadrangle circumscribed around the object labeled A against the length Dx in the horizontal direction.

Since the run length data is represented by the number of pixels (number of coordinates) (= run (i)), it is necessary to subtract 1 from the actual length (= run (i) -1). Furthermore, the coordinate of the center of gravity G can be substituted for the center of gravity of the circumscribed quadrangle of the object.

Next, the processing of step S9 and step S10, and the processing of step S11 to step S13 are performed in parallel.

First of all, in step S9, time tracking of the object is performed, that is, the same object is recognized in each sampling period. The time tracking is performed to determine whether two objects A and B extracted at time k, which is an analog time t discrete within a sampling period, are the same as the bodies C and D, which are extracted at the discrete time (k + 1). When it is determined that the objects A and B are the same as the objects C and D, the objects C and D are relabeled as objects A and B. Then, the coordinates of each object that has been recognized (for example, the center of gravity) are stored in the memory as time series position data.

Next, in step S10, the vehicle speed VCAR detected by the vehicle speed sensor 4 and the yaw rate YR detected by the yaw rate sensor 3 are obtained, and by taking the time integral of the yaw rate YR, the turning angle (r of the vehicle 10 is calculated.

Meanwhile, in parallel to the processing in step S9 and step S10, processing for calculating the distance z between the object and the vehicle 10 is performed in step S11 through step S13. Because the processing of step S11 requires more time than that of step S9 and step S10, it is performed for a longer period than steps S9 and S10 (a period approximately three times longer than the period for steps S1 through S10, for example).

First, in step S11, one of a plurality of the objects tracked in the binarized image data of the reference image (for example, the right image) is selected, and for example, the entire region enclosing the selected object by a circumscribed quadrangle is extracted as a search image R1 from the reference image (for example, the right image).

Next, in step S12, a search region for searching an image (corresponding image) R2 corresponding to the search image R1 is set in the image (for example, the left image) that corresponds to the reference image (for example, the right image), and a correlation calculation is performed to extract a corresponding image R2. Here, for example, a search region is set in the left image according to the vertex coordinates of the search image R1, a luminance difference summation value C (a, b) which shows the degree of correlation of the search image R1 in the search region is calculated, and the region where this summation value C (a, b) is lowest is extracted as the corresponding image R2. Moreover, this correlation calculation is performed for the gray scale image, not the image data obtained from the binarization process. In the case where historical position data is available for the same object, the search region can be narrowed based on the historical position data.

Next, in step S13, the positions of the centers of gravity of both the search image R1 and the corresponding image R2, and the parallax (d at pixel level are calculated. Furthermore, the distance between the vehicle 10 and the object that is the distance z (m), (object distance) from the infrared cameras 2R and 2L to the object, is for example calculated, based on the base length of the cameras that is the horizontal distance D (m) between center positions of the each imaging device of the infrared cameras 2R and 2L, the focus distance of the camera that is the focus distance f (m) of each lens of the infrared cameras 2R and 2L, the pixel pitch p (m / pixel), and parallax (d (pixel), as shown in the numerical expression (1). $\begin{matrix} {z = \frac{f \times D}{\Delta\quad d \times p}} & (1) \end{matrix}$

Moreover, in step S14, when the calculation of the turning angle (r in step S10 and the calculation of the distance z in step S13 are completed, the coordinates in the image (x, y) and the distance z are converted to real space coordinates (X, Y, Z).

Here, as shown in FIG. 2 for example, the real space coordinates (X, Y, Z) are set by appointing the center position of the mounting position of the infrared cameras 2R and 2L in front of the vehicle 10 as the origin O, and the coordinates in the image are set so that the horizontal direction is the x direction and the vertical direction the y direction, with the center of the image as the origin. Furthermore, the coordinates (xc, yc) are the coordinates that have been converted from the coordinates (x, y) in the reference image (for example, the right image) into the coordinates in a virtual image obtained by aligning the origin O of the real space and the center of the image data so that they coincide, based on the relative position relationship between the mounting position of the infrared camera 2R and the origin O of the real space. $\begin{matrix} \left. \begin{matrix} {\begin{bmatrix} X \\ Y \\ Z \end{bmatrix} = \begin{bmatrix} {{xc} \times {z/F}} \\ {{yc} \times {z/F}} \\ z \end{bmatrix}} \\ {F = \frac{f}{p}} \end{matrix} \right\} & (2) \end{matrix}$

Next, in step S15, a turning angle correction is performed to compensate for the displacement of the object on the image caused by turning of the vehicle 10. This turning angle correction processing is to compensate for displacement by (x in the x direction in the range of the image data taken by the infrared cameras 2R and 2L, when the vehicle 10, for example, turns to the left by an angle of (r within a period from time k to (k + 1). As shown in the numerical expression (3) for example, the compensated coordinates (Xr, Yr, Zr) obtained as a result of compensating the real space coordinates (X, Y, Z) are set as new real space coordinates (X, Y, Z). $\begin{matrix} {\begin{bmatrix} {Xr} \\ {Yr} \\ {Zr} \end{bmatrix} = {\begin{bmatrix} {\cos\quad\theta\quad r} & 0 & {{- \sin}\quad\theta\quad r} \\ 0 & 1 & 0 \\ {\sin\quad\theta\quad r} & 0 & {\cos\quad\theta\quad r} \end{bmatrix}\begin{bmatrix} X \\ Y \\ Z \end{bmatrix}}} & (3) \end{matrix}$

Next, in step S16, an approximated straight line LMV, which corresponds to the relative movement vector between the object and the vehicle 10, is calculated from N (N = approximately 10, for example) pieces of real space position data constituting time series data, having undergone turning angle correction, obtained for the same object during a predetermined monitoring period (T.

In this step S16, the most recent coordinates P (0) = (X (0), Y (0), Z (0)) and the coordinates P prior to sampling (prior to the predetermined period (T) (N - 1) = (X (N - 1), Y (N - 1), Z (N - 1)) are corrected to the positions on the approximated straight line LMV, and the corrected coordinates Pv (0) = (Xv (0), Yv (0), Zv (0)) and Pv (N - 1) = (Xv (N - 1), Yv (N - 1), Zv (N - 1)) are calculated.

This procedure obtains the relative movement vector as a vector moving from the coordinates Pv (N - 1) towards Pv (0).

By obtaining a relative movement vector by calculating an approximated straight line which approximates the relative movement track of the object relative to the vehicle 10 from a plurality (for example, N) pieces of real space position data within the predetermined monitoring period (T, it is possible to estimate with better accuracy whether or not there is a possibility of collision between the vehicle 10 and an object, reducing the effect of position detection errors.

Next, in step S17, in the warning determination processing based on the possibility of collision between the detected object and the vehicle 10, it is determined whether or not the detected object is subject to warning.

When the result of this determination is “NO”, the flow returns to step S1, and the processing of step S1 to step S17 described above is repeated.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S18.

Moreover, in step S18, in the warning output determination process corresponding to whether or not the driver of the vehicle 10 is operating the brake based on the output BR of the brake sensor 5, it is determined whether or not the warning output is required.

When the determination result in step S18 is “NO”, for example, in the case where a degree of acceleration Gs (positive in the deceleration direction) is greater than a predetermined threshold GTH while the driver of the vehicle 10 is operating the brake, it is determined that the collision can be avoided by the brake operation, the flow returns to step S1, and the processing of step S1 to step S18 described above is repeated.

On the other hand, when the determination result in step S18 is “YES”, for example in the case where a degree of acceleration Gs (positive in the deceleration direction) is not greater than the predetermined threshold GTH while the driver of the vehicle 10 is operating the brake, or in the case where the driver of the vehicle 10 is not operating the brake, the possibility of collision is determined to be high and the flow proceeds to step S19.

The predetermined threshold value GTH is a value which corresponds to acceleration which would result in the vehicle 10 stopping after a traveling distance not greater than the distance Zv (0) between the object and the vehicle 10 in the case where the degree of acceleration Gs during the brake operation is maintained.

Then, in step S19, an audible sound warning is output, for example, through the speaker 6, or visual display warning is output, for example, through the display device 7, or tactual warning is output by generating a fastening force that is tactually perceivable to the driver with generation of a predetermined tension to the seatbelt, or by generating vibration (steering vibration), to a steering wheel for example, that is tactually perceivable to the driver.

Next, in step S20, for example, the image data obtained from the infrared camera 2R is output to the display device 7 to display the relatively approaching object as a highlighted image.

Hereunder, the warning determination processing in step S17 mentioned above is described, with reference to the attached drawings.

This warning determination processing determines the possibility of a collision between the vehicle 10 and a detected object based on the collision determination processing, processing to determine whether or not an object is in an approach determination region, intrusion collision determination processing, manmade structure determination processing, and pedestrian determination processing, as shown in FIG. 4. The description below makes reference to an example as shown in FIG. 5, in which an object 20 is traveling at a velocity Vp in the direction at a substantially 90( angle relative to the traveling direction of the vehicle 10 (for example, the Z direction).

First of all, in step S31 shown in FIG. 4, collision determination processing is performed. This collision determination processing calculates the relative velocity Vs of the vehicle 10 and the object 20 in the Z direction in the case where, as in FIG. 5, the object 20 approaches from a distance of Zv (N - 1) to a distance of Zv (0) during a time period (T, and assuming that the heights of both the vehicle 10 and the object 20 are not greater than a predetermined ground clearance H and the relative velocity Vs is maintained, determines whether or not the vehicle 10 and the object 20 will collide within the predetermined time allowance Ts.

When the determination result is “NO”, the flow proceeds to step S37 that is described later.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S32.

Also, the time allowance Ts is intended to allow determination of the possibility of a collision in advance of the estimated collision time by a predetermined length of time Ts, and is set to approximately 2 to 5 seconds, for example. Furthermore, the predetermined ground clearance H is set to approximately twice the height of the vehicle 10, for example.

Next, in step S32, whether or not the object is within an approach determination region is determined. As shown in FIG. 6 for example, in a region AR0 which can be monitored by the infrared cameras 2R and 2L, this determination processing determines whether or not the object is within a region AR1, which is a distance (Vs ( Ts) closer to the vehicle 10 than a front position Z1, and which has a total width (( + 2() with predetermined width ( (for example, approximately 50 to 100 cm) added to both sides of the width ( of the vehicle 10 in the vehicle lateral direction (that is the X direction), and which has the predetermined ground clearance H; that is, an approach determination region AR1 where there is a high likelihood of a collision occurring with the vehicle 10 if the object stays in that location.

When the determination result is “YES”, the flow proceeds to step S34 that is described later.

On the other hand, when the result of this determination is “NO”, the flow proceeds to step S33.

Then in step S33, intrusion collision determination processing is performed to determine whether or not there is a possibility of the object entering the approach determination region and colliding with the vehicle 10. As shown in FIG. 6 for example, this intrusion collision determination processing determines whether or not there is a possibility of the object in intrusion determination regions AR2 and AR3 at the ground clearance H, where these regions are outside the approach determination region AR1 in the vehicle lateral direction (that is, the x direction), moving and entering the approach determination region AR1 and colliding with the vehicle 10.

When the determination result is “YES”, the flow proceeds to step S36, which is described later.

On the other hand, when the determination result is “NO”, the flow proceeds to step S37, which is described later.

Then, in step S34, manmade structure determination processing is performed to determine whether the object is a manmade structure or not. This manmade structure determination processing determines that the object is a manmade structure and excludes the object from the warning determination if certain characteristics such as those mentioned below are detected, meaning that the object cannot be a pedestrian.

When the result of this determination is “NO”, the flow proceeds to step S35.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S37.

Then, in step S35, pedestrian determination processing is performed to determine whether the object is a pedestrian or not.

When the result of the determination in step S35 is “YES”, the flow proceeds to step S36.

On the other hand, when the result of the determination in step S35 is “NO”, the flow proceeds to step S37, which is described later.

Then, in step S36, when in step S33 there is a possibility of the object entering the approach determination region and colliding with the vehicle 10 (YES in step S33), or in step S35 the object determined possibly to be a pedestrian is not a manmade structure (YES in step S35), it is determined that there is a possibility of the vehicle 10 colliding with the detected object and a warning is justified, and the processing is terminated.

In step S37, on the other hand, when in step S31 there is no possibility of a collision between the vehicle 10 and the object within the predetermined time allowance Ts (NO in step S31), or in step S33 there is no possibility of the object entering the approach determination region and colliding with the vehicle 10 (NO in step S33), or in step S34 a determination is made that the object is a manmade structure (YES in step S34), or when the object determined not to be a manmade structure in step S34 is not a pedestrian (NO in step S35), it is determined that there is no possibility of a collision between the object and the vehicle 10 and a warning is not justified, and the processing is terminated.

Hereunder, a processing is described in which, if a plurality of the overlapping objects are recognized in the image data in the manmade structure determination processing in step S34 and the pedestrian determination processing in step S35 mentioned above, a height of the binarized object (a vertical width) is calculated.

In this manmade structure determination processing, firstly, the bottom end position of the gray scale region (that is, the region where the object exists in the gray scale image) is calculated.

Firstly for example, as shown in FIG. 7, a plurality of first search regions Mask_U1 (I) (I is an appropriate positive integer) of predetermined vertical width (height width) dyP and horizontal width dxP which are adjacent to each other downward from the bottom end of the binarized object OB are set in the reference image (for example, the right image obtained from the infrared Camera 2R).

Here, the predetermined horizontal width dxP is set to the greater value among a value of a predetermined horizontal width MASK_W of the real space (for example, a value greater than a horizontal width of a pedestrian's shoulder width, such as 70 cm) which is expanded on the image (= focus distance f x predetermined horizontal width MASK_W / object distance z), and a predetermined value (for example, width of binarized object Wb + 2 ( predetermined value M_W; where the predetermined value M_W is 2 pixels or the like).

Moreover, the predetermined vertical width dyP is set to the greater value among a value of a predetermined vertical width MASK_H of the real space (for example such as 10 cm) which is expanded on the image (= focus distance f ( predetermined vertical width MASK_H / object distance z), and a predetermined minimum value.

Then, the parallax dn1 (I) for the respective first search regions Mask_U1 (I) disposed continually on the binarized object OB, is calculated by the correlation calculation (Sum of Absolute difference) between the right image and the left image. Based on this parallax dn1 (I) and the parallax (d calculated in step S13 mentioned above, the first search region Mask_U1 (I) at the most bottom end position which becomes (dn1 (I) - (d( < predetermined threshold DISP_TH, or (dn1 (I) - (d) ( predetermined threshold DISP_TH, is detected.

Here, if (dn1 (I) - (d( < predetermined threshold DISP_TH, that is the parallax of the binarized object OB, and the first search region Mask_U1 (I) at the most bottom end position are approximately equal, then for example as shown in FIG. 7, by the coordinates (xP1 (I), yP1 (I)) of the left top vertex UL1 (I) of this first search region Mask_U1 (I), the bottom end position Ob_min_y of the gray scale region becomes Ob_min_y = yP1 (I)+dyP.

In FIG. 7, the bottom end position (yb+Hb) of the binarized object OB and the horizontal (x directional) position (xb+Wb/2) of the center of gravity of the binarized object OB are shown by the coordinates (xb, yb) of the left top vertex of the circumscribed quadrangle, the width Wb of the circumscribed quadrangle, and the height Hb of the circumscribed quadrangle of the binarized object OB.

Moreover, if (dn1 (I) - (d) ( predetermined threshold DISP_TH, that is for example as shown in FIG. 8 and FIG. 9, if another object O1 (for example such as a wall) is present forward of the binarized object OB, then by the bottom end position D_F_yP of the first search region Mask_U1 (K) (K is an appropriate integer) at the most bottom end position having approximately equal parallax to that of the binarized object OB, the height delta_H of the other object O1 (for example such as a wall) is set to delta_H = yP1 (I) + dyP/2 - D_F_yP, and the vertical width O_delta_H of the binarized object OB shielded by the other object O1 is set to O_delta_H = (delta_H - d_Cam_H) + z_Cam_H, based on the ground clearance Cam_H of the infrared Cameras 2R and 2L, and the distance d from the infrared Cameras 2R and 2L to the other object O1. Here, d_Cam_H = f ( Cam_H/d, z _Cam_H = f ( Cam_H/z.

As a result, the actual height dimension (vertical width) of the binarized object OB becomes the value obtained by adding the vertical width O_delta_H to the apparent vertical width of the binarized object OB detected in the gray scale images, and the bottom end position Ob_min_y of the gray scale region becomes Ob_min_y = D_F_yP + O_delta_H.

Hereunder processing for calculating the top end position of the gray scale region is described.

In this processing, firstly as shown in FIG. 10, a plurality of search regions Mask_U1 (J, I) (J and I are appropriate positive integers) of predetermined vertical width (height width) dyP and horizontal width dxP which are adjacent to each other are set in regions upward from the top end of the binarized object OB along the vertical direction (that is the y direction) and the horizontal direction (that is the x direction).

Here, the predetermined horizontal width dxP is set to the greater value among a value of a predetermined horizontal width MASK_WO of the real space which is expanded on the image (= focus distance f ( predetermined horizontal width MASK_WO / object distance z), and a predetermined value (for example, width of binarized object Wb + 2 ( predetermined value M_W; where the predetermined value M_W is 2 pixels or the like).

Moreover, the predetermined vertical width dyP is set to the greater value among a value of a predetermined vertical width MASK_HO of the real space (for example such as 10 cm) which is expanded on the image (= focus distance f ( predetermined vertical width MASK_HO / object distance z), and a predetermined minimum value.

Then, the parallax dn1 (J, I) for the respective search regions Mask_U1 (J, I) disposed continually on the binarized object OB, is calculated by the correlation calculation (Sum of Absolute difference) between the right image and the left image. Based on this parallax dn1 (J, I) and the parallax (d calculated in step S13 mentioned above, it is determined whether or not (dn1 (J, I) - (d( < predetermined threshold DISP_TH.

When the result of this determination is “YES”, it is determined that the parallax detection is successful with respect to this search region Mask_U (J, I), that is this search region Mask_U (J, I) is a region having approximately equal parallax to that of the binarized object OB.

On the other hand, when the result of this determination is “NO”, it is determined that the parallax detection is a failure with respect to this search region Mask_U (J, I), that is this search region Mask_U (J, I) is a region having a different parallax from that of the binarized object OB.

Then, with respect to the plurality of search regions Mask_U (J, I) which are adjacent horizontally or vertically, a clustering processing is performed in which the search regions Mask_U (J, I) for which it is determined that the parallax detection is successful are set as a single aggregate.

In this clustering processing, in the case where an interval (H for which it is determined that the parallax detection is continually a failure for example in the vertical direction is greater than a predetermined threshold H_TH, it is determined that they are not the single aggregate. In the case where an interval (W for which it is determined that the parallax detection is continually a failure for example in the horizontal direction is greater than a predetermined threshold W_TH, it is determined that they are not the single aggregate.

By the position of the search region Mask_U (J, I) at the most top end position that belongs to the formed single aggregate, for example the coordinates (xP1 (J, I), yP1 (J, I)) of the left top vertex UL1 (I) of the search region Mask_U1 (J, I) at this most top end position, the top end position Ob_max_y of the gray scale region OG becomes Ob_max_y = yP1 (J, I).

Accordingly, the gray scale region OG is set as a region having the vertical width from the top end position Ob_max_y to the bottom end position Ob_min_y, and the horizontal width including the horizontal width dxP of the first search region Mask_U1 (I) and the horizontal width of the single aggregate.

As described above, according to the vehicle surroundings monitoring apparatus of the present embodiment, for example compared to a case where a relatively large single search region is set in the horizontal direction, the size of the respective plurality of the search regions Mask_U (J, I) can be made relatively small. As a result, the detection accuracy of the horizontal width of the binarized object OB in the gray scale image can be improved, and for example even in the case where the horizontal width of the object in the gray scale is greater than the horizontal width of the binarized object OB (for example width Wb) or the estimated value from the horizontal width of the binarized object OB (for example width Wb), it is possible to avoid setting the search region only to a region smaller than the horizontal width of the object in the gray scale image. Then, by accurately detecting the horizontal width of the object by each appropriate height, for example even in the state where the object is inclined at an appropriate angle with respect to the vertical direction, the height of the binarized object OB in the gray scale image can be accurately detected. In addition, when the height of the binarized object (the vertical width) calculated by the aforementioned processes matches that of a pedestrian, the binarized object can be determined to be a pedestrian. On the other hand, when the height of the binarized object (the vertical width) calculated by the aforementioned processes does not match that of a pedestrian, the binarized object can be determined to be a manmade structure.

In the embodiment mentioned above, when the top end position of the gray scale region is calculated, the parallax dn (J, I) is calculated with respect to the plurality of search regions Mask_U (J, I) set in the region upward from the top end of the binarized object OB. However, the invention is not limited to this and, for example as a first modified example shown in FIG. 11, parallax dn (k) may be calculated with respect to a predetermined reference search region (reference mask) Mask (k), where k is an appropriate integer.

In this first modified example, firstly, in step S41 shown in FIG. 11, as the initialization, the height position yb of the circumscribed quadrangle of the binarized object OB is set to the top end position Max_y, and 0 is set to a parallax detection failure number NG_COUNT.

Next, in step S42, a plurality of (for example, 2 if vertical position M = 1) predetermined reference masks Mask (k), Mask (k + 1) having predetermined vertical width (height width) dyP and horizontal width dxP are set, and the parallax dn (k) and dn (k + 1) are calculated for the respective reference masks Mask (k), Mask (k + 1).

In this step S42, if vertical position M = 1, that is in the case where the respective reference masks Mask (k), Mask (k + 1) adjacent to the top end position of the binarized object OB are set, then for example as shown in FIG. 12, the x-coordinate of the boundary position of the reference mask Mask (k) and the reference mask Mask (k + 1) in the horizontal direction (that is the x direction) is set to (xb + Wb/2) according to the coordinates (xb, yb) of the left top vertex of the circumscribed quadrangle of the binarized object OB and the width Wb of the circumscribed quadrangle.

Moreover, the plurality of reference masks ..., Mask (k - 1), Mask (k), Mask (k + 1) are set to be sequentially disposed along the positive direction of the horizontal direction (that is the x direction).

Then, in step S43, based on the respective parallax dn (k), dn (k + 1) and the parallax (d calculated in step S13 mentioned above, it is determined whether or not (dn (k) - (d( < predetermined threshold DISP_TH, and (dn (k + 1) - (d( < predetermined threshold DISP_TH.

When the result of this determination is “NO”, the flow proceeds to step S45 described later.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S44.

In step S44, it is determined that the calculation of the height position is successful, that is the respective reference masks Mask (k) and Mask (k + 1) are regions having approximately equal parallax to that of the binarized object OB, and 0 is set to the parallax detection failure number NG_COUNT, and (yb – M × dyP) is set to the top end position Max_y. Then the flow proceeds to step S56 described later.

Moreover, in step S45, it is determined whether or not (dn (k) - (d( < predetermined threshold DISP_TH.

When the result of this determination is “NO”, the flow proceeds to step S51 described later.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S46.

In step S46, the reference mask Mask (k - 1) which is adjacent to the reference mask Mask (k) in the negative direction of horizontal direction (that is the x direction), and the parallax dn (k - 1) of this reference mask Mask (k - 1) is calculated.

Then, in step S47, it is determined whether or not (dn (k - 1) - (d( < predetermined threshold DISP_TH.

When the result of this determination is “NO”, the flow proceeds to step S50 described later.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S48.

In step S48, it is determined that the calculation of the height position is successful, that is the respective reference masks Mask (k - 1) and Mask (k) are regions having approximately equal parallax to that of the binarized object OB, and 0 is set to the parallax detection failure number NG_COUNT, and (yb – M × dyP) is set to the top end position Max_y. Then the flow proceeds to step S49.

Then, in step S49, the position (k - 1) is newly set as the reference position k, and the flow proceeds to step S56 described later.

Moreover, in step S50, it is determined that the calculation of the height position is a failure, that is a region having approximately equal parallax to that of the binarized object OB cannot be detected, and the value obtained by adding 1 to the parallax detection failure number NG_COUNT is newly set as the parallax detection failure number NG_COUNT. Then the flow proceeds to step S56 described later.

In step S51, it is determined whether or not (dn (k + 1) - (d( < predetermined threshold DISP_TH.

When the result of this determination is “NO”, the flow proceeds to step S51 described later.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S52.

In step S52, the reference mask Mask (k + 2) which is adjacent to the reference mask Mask (k + 1) in the positive direction of horizontal direction (that is the x direction), and the parallax dn (k + 2) of this reference mask Mask (k + 2) is calculated.

Then, in step S53, it is determined whether or not (dn (k + 2) - (d( < predetermined threshold DISP_TH.

When the result of this determination is “NO”, the flow proceeds to step S50 described above.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S54.

In step S54, it is determined that the calculation of the height position is successful, that is the respective reference masks Mask (k + 1) and Mask (k + 2) are regions having approximately equal parallax to that of the binarized object OB, and 0 is set to the parallax detection failure number NG_COUNT, and (yb – M × dyP) is set to the top end position Max_y. Then the flow proceeds to step S55 described later.

Then, in step S55, the position (k + 1) is newly set as the reference position k, and the flow proceeds to step S56.

In step S56, the value obtained by adding 1 to the vertical position M is newly set as the vertical position M.

Then, in step S57, it is determined whether or not the interval (H obtained by multiplying the parallax detection failure number NG_COUNT and the predetermined vertical width MASK_H0 (for example such as 10cm) is greater than the predetermined threshold H_TH.

When the result of this determination is “NO”, the flow returns to step S42 described above.

On the other hand, when the result of this determination is “YES”, the flow proceeds to step S58.

Then, in step S58, the top end position Max_y is set as the top end position Ob_max_y of the gray scale region OG, and the processing is terminated.

For example as shown in FIG. 13, firstly in the processing of the vertical position M = 1, using the top end position of the binarized object OB as the boundary position, two respective reference masks Mask_L (1) and Mask_R (1) are set on the left and right in the horizontal direction, and the parallaxes dn_L (1), dn_R (1) are calculated for respective reference masks Mask_L (1) and Mask_R (1). Then, if the difference between the respective parallaxes dn_L (1), dn_R (1) and the parallax (d is less than the predetermined threshold DISP_TH, it is determined that the respective reference masks Mask_L (1) and Mask_R (1) are regions having approximately equal parallax to that of the binarized object OB. Then the flow proceeds to the processing of the vertical position M = 2.

Next in the processing of the vertical position M = 2, two respective reference masks Mask_L (2) and Mask_R (2) are set so as to be adjacent to the upper part of the two respective reference masks Mask_L (1) and Mask_R (1) for which it is determined that the parallax detection is successful in the processing of the vertical position M = 1, and the parallaxes dn_L (2), dn_R (2) are calculated for the respective reference masks Mask_L (2) and Mask_R (2). Then, if the difference between the respective parallaxes dn_L (2), dn_R (2) and the parallax (d is less than the predetermined threshold DISP_TH, it is determined that the respective reference masks Mask_L (2) and Mask_R (2) are regions having approximately equal parallax to that of the binarized object OB. Then the flow proceeds to the processing of the vertical position M = 3.

Next in the processing of the vertical position M = 3, two respective reference masks Mask_L (3) and Mask_R (3) are set so as to be adjacent to the upper part of the two respective reference masks Mask_L (2) and Mask_R (2) for which it is determined that the parallax detection is successful in the processing of the vertical position M = 2, and the parallaxes dn_L (3), dn_R (3) are calculated for the respective reference masks Mask_L (3) and Mask_R (3). Here, for example, if only the difference between for example the parallax dn_R (3) and the parallax (d is less than the predetermined threshold DISP_TH, it is determined that only the reference mask Mask_R (3) is the region having approximately equal parallax to that of the binarized object OB, and the reference mask Mask_R (3) is set so as to be adjacent to the right part of the reference mask Mask_R (3) to calculate the parallax dn_RR (3). Here, if the difference between for example the parallax dn_RR (3) and the parallax (d is not less than the predetermined threshold DISP_TH, it is determined that the reference mask Mask_R (3) is not the region having approximately equal parallax to that of the binarized object OB, and the flow proceeds to the processing of the vertical position M = 4.

Since a pair of left and right reference masks cannot be detected in the processing of the vertical position M = 3, then next in the processing of the vertical position M = 4, two respective reference masks Mask_L (4) and Mask_R (4) positioned at the upper part of the two respective reference masks Mask_L (2) and Mask_R (2) for which it is determined that the parallax detection is successful in the processing of the vertical position M = 2 are set, and the parallaxes dn_L (4), dn_R (4) are calculated for the respective reference masks Mask_L (4) and Mask_R (4). Here, for example, if only the difference between for example the parallax dn_R (4) and the parallax (d is less than the predetermined threshold DISP_TH, it is determined that only the reference mask Mask_R (4) is the region having approximately equal parallax to that of the binarized object OB, and the reference mask Mask_R (4) is set so as to be adjacent to the right part of the reference mask Mask_R (4) to calculate the parallax dn_RR (4). Then, if the difference between for example the parallax dn_RR (4) and the parallax (d is less than the predetermined threshold DISP_TH, it is determined that the reference mask Mask_RR (4) is the region having approximately equal parallax to that of the binarized object OB, and the flow proceeds to the processing of the vertical position M = 5.

Next in the processing of the vertical position M = 5, two respective reference masks Mask_L (5) and Mask_R (5) are set so as to be adjacent to the upper part of the two respective reference masks Mask_R (4) and Mask_RR (4) for which it is determined that the parallax detection is successful in the processing of the vertical position M = 4, and the parallaxes dn_L (5) and dn_R (5) are calculated for the respective reference masks Mask_L (5) and Mask_R (5). Then, if the difference between the parallaxes dn_L (5) and dn_R (5) and the parallax (d is less than the predetermined threshold DISP_TH, it is determined that the respective reference masks Mask_L (5) and Mask_R (5) are the region having approximately equal parallax to that of the binarized object OB.

Moreover, as shown in FIG. 14, for example if the interval (H for which it is determined that the parallax detection is continually a failure in the vertical direction, is greater than the predetermined threshold H_TH, it is determined that the reference mask (B) for which it is determined that the parallax detection is successful in the previous time, and the reference mask (A) for which it is determined that the parallax detection is successful at this time, are regions corresponding to different objects to each other, that is the reference mask (A) at this time is a region corresponding to a different object from the binarized object OB. Then the top end position Ob_max_y of the gray scale region OG is set as the position in relation to the reference mask (B) for which it is determined that the parallax detection is successful in the previous time, and the processing is terminated.

According to this first modified example, the increase in the calculation load can be suppressed compared to the abovementioned embodiment where the parallax dn (J, I) is calculated for the plurality of search regions Mask_U (J, I).

Moreover, in the abovementioned embodiment, when the bottom end position of the gray scale region is calculated, if another object (for example such as a wall) is present forward of the binarized object OB, the first search region Mask_U1 (I) at the most bottom end position which becomes (dn1 (I) - Δd) ( predetermined threshold DISP_TH, is detected. However, the invention is not limited to this and may be such that, for example as a second embodiment shown in FIG. 15, one or a plurality of first search regions Mask_U1 (I) which become (dn1 (I) - (d) ( predetermined threshold DISP_TH for the respective first search regions Mask_U1 (I) (that is, it is determined that an other object O1 being an obstacle, is present between the infrared cameras 2R and 2L and the binarized object OB), and have approximately equal parallax to each other, may be newly set as the second search region Mask_U2 (I).

In this case, whether or not the set second search regions Mask_U2 (I) are disposed continually on the binarized object OB may be determined, and a second search regions Mask_U2 (I) at the most bottom end position may be detected among one or a plurality of second search regions Mask_U2 (I) having approximately equal parallax to each other and disposed continually on the binarized object OB, and the bottom end position Ob_min_y of the gray scale region may be calculated based on the bottom end position D_F_yP of the first search region Mask_U (I) at the most bottom end position having approximately equal parallax to that of the binarized object OB, and disposed continually on the binarized object OB, and the bottom end position of the second search region Mask_U2 (I) at the most bottom end position.

Furthermore, in this case, when it is determined whether or not the second search regions Mask_U2 (I) are disposed continually on the binarized object OB, the second search regions Mask_U2 (I + j) (j is an arbitrary integer) which are present within a predetermined distance from the second search region Mask_U2 (I) having approximately equal parallax to each other may be determined as continuous to the second search region Mask_U2 (I).

In the abovementioned embodiment, the height of the binarized object OB in the gray scale image is calculated by setting the plurality of search regions Mask_U (J, I) for each predetermined vertical width (height width) dyP only for the region upward from the top end of the binarized object OB. However, the invention is not limited to this and may be such that, for example similarly for the lower part of the binarized object OB, a plurality of search regions are set for each predetermined height, to calculate the height of the binarized object OB in the gray scale image.

While preferred embodiments of the invention have been described and illustrated above, it should be understood that these are exemplary of the invention and are not to be considered as limiting. Additions, omissions, substitutions, and other modifications can be made without departing from the spirit or scope of the present invention. Accordingly, the invention is not to be considered as being limited by the foregoing description, and is only limited by the scope of the appended claims. 

1. A vehicle surroundings monitoring apparatus that extracts a body present in the surrounding of a vehicle as an object, based on an image captured by an infrared imaging device, comprising: a binarized object extraction device that extracts a binarized object from image data obtained by binarizing a gray scale images of the image; a search region setting device that sets a plurality of search regions vertically using a predetermined height as a reference around the binarized object extracted by the binarized object extraction device, in the gray scale image; a search region extraction device that extracts a search region having a distance to the infrared imaging device substantially equal to a distance between the binarized object and the infrared imaging device, among a plurality of the search regions set by the search region setting device; a correlation degree determination device that determines a degree of correlation between the plurality of search regions extracted by the search region extraction device; a height calculation device that calculates a height of the binarized object in the gray scale image, based on a determination result by the correlation degree determination device; and an object type determination device that determines a type of the object based on the height of the binarized object calculated by the height calculation device.
 2. A vehicle surroundings monitoring apparatus according to claim 1, wherein the search region setting device sets a plurality of search regions horizontally for the respective predetermined heights using a plurality of different predetermined heights as a reference.
 3. A vehicle surroundings monitoring apparatus according to claim 1, wherein the correlation degree determination device determines the continuity of the plurality of search regions.
 4. A vehicle surroundings monitoring apparatus according to claim 1, further comprising: a pedestrian recognition device that recognizes a pedestrian present in the surrounding of a vehicle based on the image, the pedestrian recognition device executing pedestrian recognition processing on the object when the object is determined by the object type determination device to be something other than a manmade structure or to be a pedestrian.
 5. A vehicle surroundings monitoring apparatus according to claim 1, further comprising: a warning output device that outputs a warning directed to the object when the object is determined by the object type determination device to be something other than a manmade structure or to be a pedestrian. 